<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link href="/resource/css/admin/main.css" type="text/css" rel="stylesheet" />
<link href="/resource/css/admin/right.css" type="text/css" rel="stylesheet" />
<#if type??>
<script type="text/javascript" src="/resource/js/jquery.js"></script>
<script type="text/javascript" src="/resource/ueditor/third-party/highcharts/highcharts.js"></script>
<script type="text/javascript" src="/resource/js/base.js"></script>
<script type="text/javascript" src="/resource/js/admin/visitpv.js"></script>
</#if>
</head>
<body>
    <div class="position"><span>您的当前位置：</span>网站维护 > 网站访问量统计</div>
    <form method="post" action="./">
    	<div class="rightbody f">
			<div class="rightbodycontent">
    			<#if type??>
			        <table class="tools">
			    	    <tr>
			                <td width="35">&nbsp;</td>
			                <td>                    
		                    	日访问量：<select name="day" onchange="getform(this).submit()">
										 <#list maxDay..1 as i>
										 	<option value="${i}"<#if i == day> selected</#if>>${i}日</option>
										 </#list>
		                              </select>：<span style="color:red">${visitByDay}</span>&nbsp;
		                    	月访问量：<select name="month" onchange="getform(this).submit()">
										 <#list maxMonth..1 as i>
										 	<option value="${i}"<#if i == month> selected</#if>>${i}月</option>
										 </#list>
		                              </select>：<span style="color:red">${visitByMonth}</span>&nbsp;
		                    	年访问量：<select name="year" onchange="getform(this).submit()">
										 <#list maxYear..minYear as i>
										 	<option value="${i}"<#if i == year> selected</#if>>${i}年</option>
										 </#list>
		                              </select>：<span style="color:red">${visitByYear}</span>&nbsp;&nbsp;|&nbsp; 
		                    	总访问量：<span style="color:red">${visitTotal}</span>
			                </td>
			            </tr>
			        </table>
			        <br />
			        <div id="reporter" style="height: 350px; margin: 0 auto"></div>
			        <center>
			            <label><input type="radio" name="type" value="0"<#if type == 0> checked</#if> onclick="getform(this).submit()" />日</label>&nbsp;
			            <label><input type="radio" name="type" value="1"<#if type == 1> checked</#if> onclick="getform(this).submit()" />月</label>&nbsp;
			            <label><input type="radio" name="type" value="2"<#if type == 2> checked</#if> onclick="getform(this).submit()" />年</label>
			            <#if visitTotal gt 0>
			                &nbsp;<label><input type="radio" name="type" value="3"<#if type == 3> checked</#if> onclick="getform(this).submit()" />总</lable>
			            </#if>
			        </center>
					<input type="hidden" id="columns" value="${columns}" />
					<input type="hidden" id="typename" value="${typename}" />
					<input type="hidden" id="columnsData" value="${columnsData}" />
				<#else><br /><br /><center>暂无访问量</center></#if>
	        </div>
        </div>
	</form>
</body>
</html>